import ajax from '@/utils/ajax';
export default {

  // 获取消息
  getMessageList(data) {
    return ajax({
      url: '/message/getMessageList',
      method: 'get',
      data
    })
  },
  // 消息设为已读
  readMessage(data) {
    return ajax({
      url: '/message/readMessage',
      method: 'post',
      data
    })
  },
  // 获取待操作
  pendingOperationList(data) {
    return ajax({
      url: '/statistics/pendingOperationList',
      method: 'get',
      data
    })
  },

  //  月度签约金额趋势/月度签约项目数
  monthlyContractAmountTrend(data) {
    return ajax({
      url: '/statistics/MonthlyContractAmountTrend',
      method: 'get',
      data
    })
  },

  // 实时项目汇总
  realTimeProjectSummary(data) {
    return ajax({
      url: '/statistics/RealTimeProjectSummary',
      method: 'get',
      data
    })
  },

  // 签约情况统计
  signingStatistics(data) {
    return ajax({
      url: '/statistics/signingStatistics',
      method: 'get',
      data
    })
  },

  // 各类型门店签约情况统计
  storeTypeSigningStatistics(data) {
    return ajax({
      url: '/statistics/storeTypeSigningStatistics',
      method: 'get',
      data
    })
  },

  // 客户经理业绩情况月度统计
  accountManagersMonthlyPerformance(data) {
    return ajax({
      url: '/statistics/accountManagersMonthlyPerformance',
      method: 'get',
      data
    })
  },

  // 取消项目类型统计
  cancelTypeStatistics(data) {
    return ajax({
      url: '/statistics/cancelTypeStatistics',
      method: 'get',
      data
    })
  },

  // 待结算尾款情况统计
  pendingSettlementStatistics(data) {
    return ajax({
      url: '/statistics/pendingSettlementStatistics',
      method: 'get',
      data
    })
  },

  /***********************统计-施工看板************************/

  // 施工中状态统计
  constructionProgressStatistics(data) {
    return ajax({
      url: '/statistics/constructionProgressStatistics',
      method: 'get',
      data
    })
  },
  // 施工省份统计
  constructionProvinceStatistics(data) {
    return ajax({
      url: '/statistics/constructionProvinceStatistics',
      method: 'get',
      data
    })
  },
  // 工程经理施工统计
  engineeringManagerConstruction(data) {
    return ajax({
      url: '/statistics/engineeringManagerConstruction',
      method: 'get',
      data
    })
  },
  // 完工项目数据
  completedProjectData(data) {
    return ajax({
      url: '/statistics/completedProjectData',
      method: 'get',
      data
    })
  },
  // 省份-完工项目统计
  provinceCompletedProjectData(data) {
    return ajax({
      url: '/statistics/ProvinceCompletedProjectData',
      method: 'get',
      data
    })
  },
  // 工程经理-完工项目统计
  gCJLCompletedProjectData(data) {
    return ajax({
      url: '/statistics/GCJLCompletedProjectData',
      method: 'get',
      data
    })
  },
  // 项目进场时效-工程经理
  gCJLProjectProgressTimeliness(data) {
    return ajax({
      url: '/statistics/GCJLProjectProgressTimeliness',
      method: 'get',
      data
    })
  },
  // 项目售后时效-工程经理
  gCJLAfterSalesTimeliness(data) {
    return ajax({
      url: '/statistics/GCJLAfterSalesTimeliness',
      method: 'get',
      data
    })
  },

}